package descentFly.away3D4.element.Extends
{
	import descentFly.away3D4.chips.df_chipAway;
	import descentFly.away3D4.df_baseSpaceElement;
	import descentFly.away3D4.element.df_element;
	import descentFly.df_optionsObject;
	
	public class df_controller extends df_optionsObject {
		private var _ctrl: df_element;
		public function df_controller(ctrl: df_element, a_options: Object) {
			_ctrl = ctrl;
			super(a_options);
		}
		
		protected function get myChip(): df_chipAway {
			return _ctrl.Space.myChip as df_chipAway;
		}
		
		protected function get ctrl(): df_element {
			return _ctrl;
		}
		
		public function pickUp(): void {
			playSound('pickUp', _ctrl.getModel());
		}
	}
}